package com.zwj.design.factory.method.factory.impl;

import com.zwj.design.factory.method.factory.IFactory;
import com.zwj.design.factory.method.service.IProduct;
import com.zwj.design.factory.method.service.impl.ProductA;

/**
 * 具体的工厂
 *
 * @author 摸鱼二长老
 * @version 1.0
 * @createTime 2023-06-29 10:59:00
 */
public class FactoryA implements IFactory {
    @Override
    public IProduct makeProduct() {
        return new ProductA();
    }
}
